# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=armor
pkgver=5.bae27a6
pkgrel=1
pkgdesc='A simple Bash script designed to create encrypted macOS payloads capable of evading antivirus scanners.'
groups=('blackarch' 'blackarch-exploitation' 'blackarch-crypto')
arch=('any')
url='https://github.com/tokyoneon/Armor'
license=('custom:unknown')
depends=('bash' 'openssl' 'wget')
makedepends=('git')
source=("$pkgname::git+https://github.com/tokyoneon/Armor.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -Dm 755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
}

